﻿using System;

namespace NMA.Infrastructure.NHibernate.OrderByExpression
{
    using NMA.Domain.Model;
    using NMA.Domain.Model.Contract;

    public interface IOrderByExpressionFactory
    {
        Func<ICategory, object> CreateCategorySearchOrderBy(SearchCategoryOrderByType orderType);
        Func<ICategory, object> CreateCategorySearchOrderBy(string orderBy);
    }
}